Package-level declarations

Types

Link copied to clipboard

Replaced by ShadowDrawable in the drawable subpackage

Link copied to clipboard
Link copied to clipboard

Helper class that blends the two native shadow colors into a single value appropriate for use with outlineShadowColorCompat.

Link copied to clipboard

Determines where a target View's library shadow is inserted into the hierarchy's draw routine.

Link copied to clipboard
fun interface ViewPathProvider

An interface through which to set the clip Path for irregularly shaped Views on API levels 30 and above.

Properties

Link copied to clipboard

The current state of the clipped shadow fix for the receiver View.

Link copied to clipboard
Link copied to clipboard

Determines whether the color compat mechanism should be forced if the current API level is 28 or above.

Link copied to clipboard

A stopgap patch fix for potential clip defects on API levels 24..28, when a target's parent ViewGroup has a non-identity matrix applied.

Link copied to clipboard

An implementation of ViewPathProvider that sets the Path from a MaterialShapeDrawable in the target's background.

Link copied to clipboard

The current color compat value for the receiver View.

Link copied to clipboard

The ViewPathProvider used by clipOutlineShadow for irregular shapes on API levels 30+.

Link copied to clipboard

The current ShadowPlane for the receiver View's library shadow.